path=$1
cd $path
index=109
for i in `ls *.patch`
do
patch_name=$(echo $i|sed s/^.....//g)
index=$(expr $index + 1)
mv $i "00${index}-${patch_name}"
done
cd -
